using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._MaritimeTools._S._100
{
    /// <summary>
    /// <para>Import S-100 Cell</para>
    /// <para>Imports S-100 hydrographic data into a geodatabase created from a related S-100 feature catalogue.</para>
    /// <para>将 S-100 水文数据导入到根据相关 S-100 要素目录创建的地理数据库中。</para>
    /// </summary>    
    [DisplayName("Import S-100 Cell")]
    public class ImportS100Cell : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public ImportS100Cell()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_feature_catalogue">
        /// <para>S-100 Feature Catalogue</para>
        /// <para>An S-100 feature catalogue document that describes the content of a data product and specification.</para>
        /// <para>描述数据产品和规范内容的 S-100 功能目录文档。</para>
        /// </param>
        /// <param name="_in_base_cell">
        /// <para>S-100 Cell</para>
        /// <para>The base file in the S-100 format.</para>
        /// <para>S-100 格式的基本文件。</para>
        /// </param>
        /// <param name="_target_workspace">
        /// <para>Target Workspace</para>
        /// <para>The geodatabase to which all output data will be written.</para>
        /// <para>将所有输出数据写入其中的地理数据库。</para>
        /// </param>
        public ImportS100Cell(object _in_feature_catalogue, object _in_base_cell, object _target_workspace)
        {
            this._in_feature_catalogue = _in_feature_catalogue;
            this._in_base_cell = _in_base_cell;
            this._target_workspace = _target_workspace;
        }
        public override string ToolboxName => "Maritime Tools";

        public override string ToolName => "Import S-100 Cell";

        public override string CallName => "maritime.ImportS100Cell";

        public override List<string> AcceptEnvironments => ["S100FeatureCatalogueFile", "workspace"];

        public override object[] ParameterInfo => [_in_feature_catalogue, _in_base_cell, _target_workspace, _in_update_cells, _output_workspace];

        /// <summary>
        /// <para>S-100 Feature Catalogue</para>
        /// <para>An S-100 feature catalogue document that describes the content of a data product and specification.</para>
        /// <para>描述数据产品和规范内容的 S-100 功能目录文档。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("S-100 Feature Catalogue")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_feature_catalogue { get; set; }


        /// <summary>
        /// <para>S-100 Cell</para>
        /// <para>The base file in the S-100 format.</para>
        /// <para>S-100 格式的基本文件。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("S-100 Cell")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_base_cell { get; set; }


        /// <summary>
        /// <para>Target Workspace</para>
        /// <para>The geodatabase to which all output data will be written.</para>
        /// <para>将所有输出数据写入其中的地理数据库。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Target Workspace")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _target_workspace { get; set; }


        /// <summary>
        /// <para>S-100 Update Cells</para>
        /// <para>An update to a base file in the S-100 format.</para>
        /// <para>对 S-100 格式的基本文件的更新。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("S-100 Update Cells")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public List<object> _in_update_cells { get; set; } = null;


        /// <summary>
        /// <para>Output Workspace</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Workspace")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _output_workspace { get; set; }


        public ImportS100Cell SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}